using System;
using System.Collections.Generic;
using System.Text;

namespace Entities
{
    /// <summary>
    /// Represents alls information about Function is exits in Forum
    /// </summary>
    public class Function
    {
        #region  Variable Private
        private byte _functionID;
        private string _functionName;
        #endregion

        #region Properties Public
        public string FunctionName
        {
            get { return _functionName; }
            set { _functionName = value; }
        }
        public byte FunctionID
        {
            get { return _functionID; }
            set { _functionID = value; }
        }
        #endregion

        #region Constructor
        public Function() { }
        public Function(string funcName)
        {
            this.FunctionName = funcName;
        }
        public Function(byte funcID, string funcName)
        {
            this.FunctionID = funcID;
            this.FunctionName = funcName;
        }

        #endregion
    }
}
